package com.monster.datasourcejob.datax.jobfilegenerator;

import com.monster.datasourcejob.datax.reader.Reader;
import com.monster.datasourcejob.datax.writer.Writer;

/**
 * description:
 * dataX任务文件生成器
 * @author Yuanml on 2021/6/30 17:46
 */
public interface JobFileGenerator {
    /**
     * description:
     * 根据reader和Writer生成dataX任务json文件内容
     * @param reader   dataX reader
     * @param writer   dataX writer
     * @return         dataX任务json文件内容
     * @author Yuanml
     * @date 2021/6/30 17:50
     **/
    String genFileContent(Reader reader, Writer writer);
}
